class UrlMappings {

	static mappings = {
		"/$controller/$action?/$id?"{
			constraints {
				// apply constraints here
			}
		}
        "/"(controller:'home',action:'index')
		"500"(view: '/errors/error')
        "404"(view: '/errors/error404')
	}
}
